﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter13.Code05.Code02
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
    public class DoesInterestingThingsAttribute : Attribute
    {
        public string WhatDoesItDo { get; set; }
        public int HowManyTimes { get; private set; }

        public DoesInterestingThingsAttribute(int howManyTimes)
        {
            HowManyTimes = howManyTimes;
        }
    }
}
